<!--
 * @Author: ChengNan 1429323234@qq.com
 * @Date: 2024-09-05 14:40:48
 * @LastEditors: ChengNan 1429323234@qq.com
 * @LastEditTime: 2024-09-05 14:49:53
 * @FilePath: /src/views/0.web-front/7天入门/15.浮动.html
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box1 {
      width: 500px;
      height: 200px;
      border: 1px solid red;
    }
    .box1 > div {
      width: 50px;
      height: 50px;
      background-color: antiquewhite;
      border: 1px solid red;
      float: left;
    }
    .box2 {
      width: 400px;
    }
    .box2 img {
      display: block;
      float: left;
    }

  </style>
</head>
<body>
  <h1>15.浮动</h1>
  <div class="box1">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <h1>15.浮动</h1>
  </div>

  <div class="box2">
    <img src="https://picsum.photos/200" alt="">
    啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担，啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担啊搜发哥i额外浪费巴黎世家回复v爱老虎油v就啊还是v负担
  </div>
</body>
</html>